import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SeqSStallLeaveWordHelper } from "./SeqSStallLeaveWordHelper";
import { SEntityId } from "./SEntityId";
type int = number;
//class SSeqSStallLeaveWord
    
    export  class SSeqSStallLeaveWord extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SSeqSStallLeaveWord();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            this.updateEntityId.__write(arg1);
            SeqSStallLeaveWordHelper.write(arg1, this.leaveWords);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.updateEntityId = new SEntityId();
            this.updateEntityId.__read(arg1);
            this.leaveWords = SeqSStallLeaveWordHelper.read(arg1);
            return;
        }

        public /* const */_type: int=20305;

        public /* var */updateEntityId: SEntityId;

        public /* var */leaveWords: Array<any>;

        public static /* var */_regist: SSeqSStallLeaveWord;
    }

            SSeqSStallLeaveWord._regist = new SSeqSStallLeaveWord(true);
        